package com.wuyou.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author cxy
 * @since 2022-09-29
 */
@TableName("td_host")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Accessors(chain = true)
public class Host implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 房东id
     */
    @TableId(value = "host_Id", type = IdType.AUTO)
    private Long hostId;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 姓名
     */
    private String name;

    /**
     * 房东手机号
     */
    private String hostPhone;

    /**
     * 是否认证(0未认证 1认证)
     */
    private Integer isAuthentication;

    /**
     * 详情
     */
    private String detail;

    /**
     * 备用字段2
     */
    private String spare1;

    /**
     * 备用字段2
     */
    private String spare2;


}
